package com.yunpeng.dishes.common.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * NutrientsVO 营养元素表展示数据对象
 *
 * @author : Moore(hemw)
 * @date : 2020-03-26
 */
public class NutrientsVO implements Serializable {

    /**
     * 元素归属类别
     */
    private String category;
    /**
     * 元素编码
     */
    private String code;
    /**
     * 元素名称
     */
    private String name;
    /**
     * 元素净含量
     */
    private BigDecimal netContent;
    /**
     * 元素计量单位
     */
    private String unit;
    /**
     * 元素展示序号
     */
    private Short seq;

    public NutrientsVO() {
    }

    public NutrientsVO(String category, String code, String name, BigDecimal netContent, String unit, Short seq) {
        this.category = category;
        this.code = code;
        this.name = name;
        this.netContent = netContent;
        this.unit = unit;
        this.seq = seq;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getNetContent() {
        return netContent;
    }

    public void setNetContent(BigDecimal netContent) {
        this.netContent = netContent;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Short getSeq() {
        return seq;
    }

    public void setSeq(Short seq) {
        this.seq = seq;
    }

    @Override
    public String toString() {
        return "NutrientsVO{" +
                "category='" + category + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", netContent=" + netContent +
                ", unit='" + unit + '\'' +
                ", seq=" + seq +
                '}';
    }
}
